package ar.com.jwa.domain.emailing;

import java.io.IOException;
import java.util.Collection;

import javax.mail.MessagingException;

import ar.com.jwa.domain.User;

public abstract class ConfirmationMail extends Mail{
	
	
	private Collection<User> confirmedPlayers;
	
	private Collection<User> refusedPlayers;
	
	private Collection<User> invitedPlayers;
	
	abstract StringBuffer buildMail();
	
	abstract void prepareMail() throws MessagingException, IOException;
	
	
	
	/**
	 * @return the confirmedPlayers
	 */
	public Collection<User> getConfirmedPlayers() {
		return confirmedPlayers;
	}

	/**
	 * @param confirmedPlayers the confirmedPlayers to set
	 */
	public void setConfirmedPlayers(Collection<User> confirmedPlayers) {
		this.confirmedPlayers = confirmedPlayers;
	}

	/**
	 * @return the refusedPlayers
	 */
	public Collection<User> getRefusedPlayers() {
		return refusedPlayers;
	}

	/**
	 * @param refusedPlayers the refusedPlayers to set
	 */
	public void setRefusedPlayers(Collection<User> refusedPlayers) {
		this.refusedPlayers = refusedPlayers;
	}

	/**
	 * @return the unknowingStatePlayers
	 */
	public Collection<User> getInvitedPlayers() {
		return invitedPlayers;
	}

	/**
	 * @param unknowingStatePlayers the unknowingStatePlayers to set
	 */
	public void setInvitedPlayers(Collection<User> invitedPlayers) {
		this.invitedPlayers = invitedPlayers;
	}

}
